package com.dyna.digit.process.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author zcw
 * @description digit_declare_file
 * @date 2024-09-16
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("digit_declare_file")
public class DigitDeclareFile implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    @ApiModelProperty("主键id")
    @JsonInclude(value = JsonInclude.Include.NON_NULL)
    private Long id;


    @ApiModelProperty("项目id")
    @NotNull(message = "项目申报附件项目id不能为空")
    private Integer projectId;


    @ApiModelProperty("流程（某个流程的附件）")
    private Integer flow;


    @ApiModelProperty("相关附件")
    private String relatedFile;


    @ApiModelProperty("签章文件")
    private String signDocFile;

}
